package com.neardrug.exception;

import lombok.Getter;

/**
 * @author rui
 * @ClassName: ServiceException
 * @create 2023-06-28 17:31
 */
@Getter
public class ServiceException extends RuntimeException{
    private String code;

    public ServiceException(String code, String msg) {
        super(msg);
        this.code = code;
    }
}
